package test06;

public class Five {
    public static void main(String[]args){
        int score=(int)(Math.random()*100);
        String str="";
        if(score>=85 && score<=100){
            str="A级";
        }
        else if(score>=70 && score<85){
            str="B级";
        }
        else if(score>=60 && score<70){
            str="C级";
        }
        else {
            str="D级";
        }
        System.out.println("该学生的成绩等级为："+str);
    }

}
